package com.xp.code.util;

public class SessionConfirmation {

	public static String getUserID()throws Exception{
		XPCodeSession XPSession=new XPCodeSession();
		return XPSession.getAttr("userID");
	}
	
	public static String getUserName()throws Exception{
		XPCodeSession XPSession=new XPCodeSession();
		return XPSession.getAttr("userName");
	}
	
	public static String getDeptID()throws Exception{
		XPCodeSession XPSession=new XPCodeSession();
		return XPSession.getAttr("deptID");
	}
	
	public static String getDeptName()throws Exception{
		XPCodeSession XPSession=new XPCodeSession();
		return XPSession.getAttr("deptName");
	}
	
	public static String getUnitID()throws Exception{
		XPCodeSession XPSession=new XPCodeSession();
		return XPSession.getAttr("unitID");
	}
	
	public static String getUnitName()throws Exception{
		XPCodeSession XPSession=new XPCodeSession();
		return XPSession.getAttr("unitName");
	}
	
}
